/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package org.tale.mscp.sms.aliyun.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 日志Entity
 *
 * @author ThinkGem
 * @version 2014-8-19
 */
@TableName("ali_sms_log")
public class SmsLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private String id;
    // 日志类型（1：接入日志；2：错误日志）
    private String type;
    // 日志标题
    private String title;
    // 内容
    private String content;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;

    // 日志类型（1：接入日志；2：错误日志）
    public static final String TYPE_SEND = "1";
    public static final String TYPE_EXCEPTION = "2";

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }
}